What is i rejected him to test him?

As an AI language model, I cannot determine the context of the situation you are referring to. However, testing someone by rejecting them could have various reasons such as wanting to see if they truly have feelings for you, if they are willing to put effort into pursuing you despite rejection, or if they will react negatively or positively to rejection. It is important to communicate your intentions clearly and to consider the potential emotions and reactions of the person you are testing.